# -*- coding: utf-8 -*-
# from collections import deque

import pylsl

class LSLSender(object):
    """docstring for DataPrc"""
    def __init__(self, arg):
        super(LSLSender, self).__init__()
        self.arg = arg

        # info_eeg_mii = pylsl.stream_info('mii_eeg','eeg',24,250,pylsl.cf_int32,'mii')
        # self.outlet_eeg_mii = pylsl.stream_outlet(info_eeg_mii)

        info_bci32 = pylsl.stream_info('bci32','eeg',32,500,pylsl.cf_int32,'bci32')
        self.outlet_bci32 = pylsl.stream_outlet(info_bci32)


    # def send_eeg_mii(self,e):
    #     mysample = pylsl.vectorf(e)
    #     self.outlet_eeg_mii.push_sample(mysample)

    def send_bci32(self,e):
        mysample = pylsl.vectorf(e)
        self.outlet_bci32.push_sample(mysample)













